package com.ferapps.tecsa;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class SetupActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.activity_setup);

	// Set button listeners
	final Button buttonAnag=(Button) findViewById(R.id.buttonAnag);
	buttonAnag.setOnClickListener(new View.OnClickListener() {
	    @Override
	    public void onClick(View v) {
		Intent intent=new Intent(getApplicationContext(), AnagrActivity.class);
		startActivity(intent);
	    }
	});

	final Button buttonNumbers=(Button) findViewById(R.id.buttonNumbers);
	buttonNumbers.setOnClickListener(new View.OnClickListener() {
	    @Override
	    public void onClick(View v) {
		Intent intent=new Intent(getApplicationContext(), NumbersActivity.class);
		startActivity(intent);
	    }
	});

	final Button buttonGuide=(Button) findViewById(R.id.buttonGuide);
	buttonGuide.setOnClickListener(new View.OnClickListener() {
	    @Override
	    public void onClick(View v) {
		// Perform action on click
	    }
	});
    }
}
